package com.bytic.miaosha.vo;

import com.bytic.miaosha.domain.MiaoshaUser;

public class MiaoshaStatusVo {
    /**
     * 秒杀状态
     *      0：未开始 1：进行中 2：结束
     */
    private long miaoshaStatus;
    /**
     * 秒杀剩余秒数
     *      0：进行中  大于0：还未开始  小于0：结束
     */
    private long remainSeconds;

    private GoodsVO goods;

    private MiaoshaUser user;

    public MiaoshaStatusVo(long miaoshaStatus, long remainSeconds) {
        this.miaoshaStatus = miaoshaStatus;
        this.remainSeconds = remainSeconds;
    }

    public long getMiaoshaStatus() {
        return miaoshaStatus;
    }

    public void setMiaoshaStatus(long miaoshaStatus) {
        this.miaoshaStatus = miaoshaStatus;
    }

    public long getRemainSeconds() {
        return remainSeconds;
    }

    public void setRemainSeconds(long remainSeconds) {
        this.remainSeconds = remainSeconds;
    }

    public GoodsVO getGoods() {
        return goods;
    }

    public void setGoods(GoodsVO goods) {
        this.goods = goods;
    }

    public MiaoshaUser getUser() {
        return user;
    }

    public void setUser(MiaoshaUser user) {
        this.user = user;
    }
}
